package sisi.vatarticles;

import java.io.Serializable;
import javax.persistence.*;


/**
 * Vatarticle.java - The persistent class for the <i>vat article database table</i>. 
 * @author Pedro Gonzalez pedro@sisisoftware.it
 * @author Claudio Pelosi claudio@sisisoftware.it
 * @author SISI Software S.n.c. - www.sisisoftware.it
 * @version 1.0, 12/11/2013
 * 
 */
@Entity
@Table(name="vatarticles")
public class Vatarticle implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="VATARTICLES_ID_GENERATOR", sequenceName="VATARTICLESSEQ", allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="VATARTICLES_ID_GENERATOR")
	private Integer id;

	@Column(name="article_number")
	private String articleNumber;

	private String code;

	@Column(name="english_description")
	private String englishDescription;

	@Column(name="italian_description")
	private String italianDescription;

	/**
	 * Vatarticle.java - The persistent class for the <i>vat article database table</i>. 
	 * @author Pedro Gonzalez pedro@sisisoftware.it
	 * @author Claudio Pelosi claudio@sisisoftware.it
	 * @author SISI Software S.n.c. - www.sisisoftware.it
	 * @version 1.0, 12/11/2013
	 * 
	 */
	public Vatarticle() {
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getArticleNumber() {
		return this.articleNumber;
	}

	public void setArticleNumber(String articleNumber) {
		this.articleNumber = articleNumber;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getEnglishDescription() {
		return this.englishDescription;
	}

	public void setEnglishDescription(String englishDescription) {
		this.englishDescription = englishDescription;
	}

	public String getItalianDescription() {
		return this.italianDescription;
	}

	public void setItalianDescription(String italianDescription) {
		this.italianDescription = italianDescription;
	}

}